package com.shardingdemo.service.impl;

import org.springframework.stereotype.Service;
import javax.annotation.Resource;
import java.util.List;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.shardingdemo.dao.User0Mapper;
import java.util.List;
import com.shardingdemo.model.User0;
import com.shardingdemo.service.User0Service;
/**
 *@author chen_lei
 *@date 2020/7/21 22:06
 */ 
@Service
public class User0ServiceImpl extends ServiceImpl<User0Mapper, User0> implements User0Service{

    @Override
    public int updateBatch(List<User0> list) {
        return baseMapper.updateBatch(list);
    }
    @Override
    public int batchInsert(List<User0> list) {
        return baseMapper.batchInsert(list);
    }
}
